package service

import (
	"ylb/entity"
	"ylb/vo"
)

type UserService interface {
	Login(user entity.User) (*entity.User, bool, string, int)
	GetUserInfoByUserId(id uint) vo.UserInfoVo

	Update(user entity.User) int
	InsertUser(user *entity.User) int64
	SelectUserInfoByUserName(userName string) entity.User
}
